DhcpServerProcess is the process that handles DHCP pools and leases.
More...
|
| void | addExcludedAddress (ip, ip) |
| | Adds a range of IP addresses to exclude. More...
|
| |
| void | removeExcludedAddress (ip, ip) |
| | Removes the range of IP addresses to exclude. More...
|
| |
| void | updateNetworkReservation (ip) |
| |
| int | getExcludedAddressCount () |
| | Returns the number of address ranges that is excluded. More...
|
| |
| pair< ip, ip > | getExcludedAddressAt (int) |
| | Returns the excluded address range at the specified index. More...
|
| |
| void | addPool (string) |
| | Adds a DHCP pool to this process. More...
|
| |
| void | addNewPool (string, string, string, string, string, int, string, string) |
| | Adds a new DHCP pool with the specified arguments. More...
|
| |
| DhcpPool | getPool (string) |
| | Returns a DhcpPool object with the specified pool name. More...
|
| |
| void | removePool (string) |
| | Removes the DHCP pool from this process. More...
|
| |
| int | getPoolCount () |
| | Returns the number of DHCP pools in this process. More...
|
| |
| DhcpPool | getPoolAt (int) |
| | Returns the DHCP pool at the specified index. More...
|
| |
| bool | isEnable () |
| | Returns true if this DHCP server process is enabled, otherwise false. More...
|
| |
| void | setEnable (bool) |
| | Enables or disables this DHCP server process. More...
|
| |
| Device | getOwnerDevice () |
| | Returns the device for this process. More...
|
| |
DhcpServerProcess is the process that handles DHCP pools and leases.
◆ addExcludedAddress()
| void DhcpServerProcess::addExcludedAddress |
( |
ip |
, |
|
|
ip |
|
|
) |
| |
Adds a range of IP addresses to exclude.
- Parameters
-
| startIp,the | starting IP address. |
| endIp,the | ending IP address. |
◆ addNewPool()
| void DhcpServerProcess::addNewPool |
( |
string |
, |
|
|
string |
, |
|
|
string |
, |
|
|
string |
, |
|
|
string |
, |
|
|
int |
, |
|
|
string |
, |
|
|
string |
|
|
) |
| |
Adds a new DHCP pool with the specified arguments.
- Parameters
-
| poolName,the | name for the DHCP pool. |
| gateway,the | IP address of the default gateway. |
| dnsServer,the | IP address of the DNS server. |
| startIp,the | start IP address of the DHCP pool. |
| subnetMask,the | subnet mask of the DHCP pool. |
| maxUsers,the | maximum number of users for the DHCP pool. |
| tftpServerIp,the | IP address of the TFTP server. |
| wlcIp,the | IP address of the WLC. |
◆ addPool()
| void DhcpServerProcess::addPool |
( |
string |
| ) |
|
Adds a DHCP pool to this process.
- Parameters
-
| poolName,the | name of the DHCP pool to add. |
◆ getExcludedAddressAt()
| pair< ip, ip > DhcpServerProcess::getExcludedAddressAt |
( |
int |
| ) |
|
Returns the excluded address range at the specified index.
- Parameters
-
| index,the | index of excluded address range of interest. |
- Returns
- pair<ip,ip>, a pair of IP addresses, the first is the start IP address, the second is the end IP address.
◆ getExcludedAddressCount()
| int DhcpServerProcess::getExcludedAddressCount |
( |
| ) |
|
Returns the number of address ranges that is excluded.
- Returns
- int, the number of address ranges that is excluded.
◆ getPool()
| DhcpPool DhcpServerProcess::getPool |
( |
string |
| ) |
|
Returns a DhcpPool object with the specified pool name.
- Parameters
-
| poolName,the | name of the DHCP pool of interest. |
- Returns
- DhcpPool, the DhcpPool object associated with the pool name.
◆ getPoolAt()
| DhcpPool DhcpServerProcess::getPoolAt |
( |
int |
| ) |
|
Returns the DHCP pool at the specified index.
- Parameters
-
| index,the | index of the DHCP pool of interest. |
- Returns
- DhcpPool, the DhcpPool object at the specified index.
◆ getPoolCount()
| int DhcpServerProcess::getPoolCount |
( |
| ) |
|
Returns the number of DHCP pools in this process.
- Returns
- int, the number of DHCP pools in this process.
◆ isEnable()
| bool DhcpServerProcess::isEnable |
( |
| ) |
|
Returns true if this DHCP server process is enabled, otherwise false.
- Returns
- bool, true if this DHCP server process is enabled, otherwise false.
◆ removeExcludedAddress()
| void DhcpServerProcess::removeExcludedAddress |
( |
ip |
, |
|
|
ip |
|
|
) |
| |
Removes the range of IP addresses to exclude.
- Parameters
-
| startIp,the | starting IP address. |
| endIp,the | ending IP address. |
◆ removePool()
| void DhcpServerProcess::removePool |
( |
string |
| ) |
|
Removes the DHCP pool from this process.
- Parameters
-
| poolName,the | name of the pool to remove. |
◆ setEnable()
| void DhcpServerProcess::setEnable |
( |
bool |
| ) |
|
Enables or disables this DHCP server process.
- Parameters
-
| bEnable,true | to enable this DHCP server process, false to disable it. |
◆ updateNetworkReservation()
| void DhcpServerProcess::updateNetworkReservation |
( |
ip |
| ) |
|
The documentation for this class was generated from the following file: